package process_control;

public class P8_for {
    public static void main(String[] args) {
        /*
        0~100 ??????
         */
        int odd_sum = 0;
        int even_sum = 0;
        for(int i=0; i<=100; i++){
            if (i%2 == 0) {
                even_sum += i;
            }else{
                odd_sum += i;
            }
        }

        System.out.println(odd_sum);
        System.out.println(even_sum);
    }
}
